export namespace SysOrg {
  export interface OrgSimpleInfo {
    id?: number;
    parentId?: number;
    orgName?: string;
    children?: Array<OrgSimpleInfo>;
  }
  /**
   *
   * @export
   * @interface SysOrg
   */
  export interface SysOrg {
    /**
     * 雪花Id
     * @type {number}
     * @memberof SysOrg
     */
    id?: number;
    /**
     * 创建时间
     * @type {Date}
     * @memberof SysOrg
     */
    createTime?: Date;
    /**
     * 更新时间
     * @type {Date}
     * @memberof SysOrg
     */
    updateTime?: Date;
    /**
     * 创建者Id
     * @type {number}
     * @memberof SysOrg
     */
    createUserId?: number;
    /**
     * 修改者Id
     * @type {number}
     * @memberof SysOrg
     */
    updateUserId?: number;
    /**
     * ParentId
     * @type {number}
     * @memberof SysOrg
     */
    parentId?: number;
    /**
     *
     * @type {string}
     * @memberof SysOrg
     */
    orgName?: string;
    /**
     *
     * @type {string}
     * @memberof SysOrg
     */
    code?: string;
    /**
     *
     * @type {number}
     * @memberof SysOrg
     */
    directorId?: number;
    /**
     *
     * @type {string}
     * @memberof SysOrg
     */
    remark?: string;
    /**
     *
     * @type {string}
     * @memberof SysOrg
     */
    category?: string;
    /**
     *
     * @type {number}
     * @memberof SysOrg
     */
    sortCode?: number;
    /**
     *
     * @type {Array<SysOrg>}
     * @memberof SysOrg
     */
    children?: Array<SysOrg>;
  }
  /**
   *
   * @export
   * @interface OrgAddInput
   */
  export interface OrgAddInput {
    /**
     * ParentId
     * @type {number}
     * @memberof OrgAddInput
     */
    parentId?: number;
    /**
     *
     * @type {string}
     * @memberof OrgAddInput
     */
    code?: string;
    /**
     *
     * @type {number}
     * @memberof OrgAddInput
     */
    managerId?: number;
    /**
     *
     * @type {string}
     * @memberof OrgAddInput
     */
    remark?: string;
    /**
     *
     * @type {string}
     * @memberof OrgAddInput
     */
    category?: string;
    /**
     *
     * @type {number}
     * @memberof OrgAddInput
     */
    sortCode?: number;
    /**
     *
     * @type {string}
     * @memberof OrgAddInput
     */
    orgName?: string;
  }
  export interface OrgUpdateInput extends OrgAddInput {
    /**
     * 雪花Id
     * @type {number}
     * @memberof OrgAddInput
     */
    id?: number;
  }
}
